package implementations;

import interfaces.IPoint;

public class PointImpl implements IPoint {

	private int x;
	private int y;

	public PointImpl(int x, int y) {
		this.x = x;
		this.y = y;
	}

	@Override
	public int getX() {

		return x;
	}

	@Override
	public void setX(int x) {
		this.x = x;

	}

	@Override
	public int getY() {
		return y;
	}

	@Override
	public void setY(int y) {
		this.y = y;
	}

}
